home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / cups / templates / printer.tmpl < prev    next >
Text File  |  2009-10-31  |  2KB  |  45 lines

  1. <DIV CLASS="indent">
  2.  
  3. <H2 CLASS="title"><A HREF="{printer_uri_supported}">{printer_name}</A>
  4. ({printer_state=3?Idle:{printer_state=4?Processing:Paused}},
  5. {printer_is_accepting_jobs=0?Rejecting Jobs:Accepting Jobs},
  6. {server_is_sharing_printers=0?Not:{printer_is_shared=0?Not:}} Shared{default_name={printer_name}?, Server Default:})</H2>
  7.  
  8. <FORM METHOD="POST" ACTION="{printer_uri_supported}" NAME="maintenance">
  9. <SELECT NAME="OP" ONCHANGE="document.maintenance.submit();">
  10. <OPTION VALUE="">Maintenance</OPTION>
  11. <OPTION VALUE="print-test-page">Print Test Page</OPTION>
  12. {printer_commands~.*Clean.*?<OPTION VALUE="clean-print-heads">Clean Print Heads</OPTION>:}
  13. {printer_commands~.*PrintSelfTestPage.*?<OPTION VALUE="print-self-test-page">Print Self Test Page</OPTION>:}
  14. {printer_state=5?<OPTION VALUE="start-printer">Resume Printer</OPTION>:<OPTION VALUE="stop-printer">Pause Printer</OPTION>}
  15. {printer_is_accepting_jobs=0?<OPTION VALUE="accept-jobs">Accept Jobs</OPTION>:<OPTION VALUE="reject-jobs">Reject Jobs</OPTION>}
  16. <OPTION VALUE="move-jobs">Move All Jobs</OPTION>
  17. <OPTION VALUE="purge-jobs">Cancel All Jobs</OPTION>
  18. </SELECT>
  19. <INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
  20. </FORM>
  21.  
  22. <FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
  23. <INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">
  24. <SELECT NAME="OP" ONCHANGE="document.administration.submit();">
  25. <OPTION VALUE="">Administration</OPTION>
  26. <OPTION VALUE="modify-printer">Modify Printer</OPTION>
  27. <OPTION VALUE="delete-printer">Delete Printer</OPTION>
  28. <OPTION VALUE="set-printer-options">Set Default Options</OPTION>
  29. <OPTION VALUE="set-as-default">Set As Server Default</OPTION>
  30. <OPTION VALUE="set-allowed-users">Set Allowed Users</OPTION>
  31. </SELECT>
  32. <INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
  33. </FORM>
  34.  
  35. <TABLE SUMMARY="{printer_name}">
  36. <TR><TH ALIGN="RIGHT" VALIGN="TOP">Description:</TH><TD>{printer_info}</TD></TR>
  37. <TR><TH ALIGN="RIGHT" VALIGN="TOP">Location:</TH><TD>{printer_location}</TD></TR>
  38. <TR><TH ALIGN="RIGHT" VALIGN="TOP">Driver:</TH><TD>{printer_make_and_model} ({color_supported=1?color:grayscale}{sides_supported?, 2-sided printing:})<BR>
  39. <TR><TH ALIGN="RIGHT" VALIGN="TOP">Connection:</TH><TD>{device_uri}</TD></TR>
  40. <TR><TH ALIGN="RIGHT" VALIGN="TOP">Defaults:</TH><TD>job-sheets={job_sheets_default}
  41. media={media_default?{media_default}:unknown}
  42. {sides_default?sides={sides_default}:}</TD></TR>
  43. </TABLE>
  44.  
  45. </DIV>